package org.rcy.framework.storage.huaweicloud.obs.io;

import javax.crypto.Cipher;
import javax.crypto.CipherInputStream;
import java.io.InputStream;

/**
 * @author 吴康桥
 * @Description
 * @date 2023/7/5 9:36
 */


public class HuaweiCloudCipherInputStream extends CipherInputStream {

	private Cipher cipher;

	public HuaweiCloudCipherInputStream(InputStream inputStream, Cipher cipher) {
		super(inputStream, cipher);
		this.cipher = cipher;
	}

	public Cipher getCipher() {
		return cipher;
	}

	public void setCipher(Cipher cipher) {
		this.cipher = cipher;
	}
}
